<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <textarea id="text"></textarea>
    <button id="findSame">查找相同词</button>
    <div id="res"></div>
    <style>
        textarea {
            width: 100%;
            height: 400px;
        }

        table,
        tr,
        td,
        tbody,
        thead {
            border-collapse: collapse;
            border: 1px solid black;
            ;
        }
    </style>
    <script src="./samestr.js"></script>
    </body>
</html>
